package cn.devices.entity;

import com.fasterxml.jackson.annotation.JsonFormat;



import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * 管理员表
 * </p>
 *
 * @author 秋水浮萍
 * @since 2021-02-07
 */

public class TbAdm implements Serializable {


    private Integer adminId;

    /**
     * 名字
     */
    private String adminName;

    /**
     * 登录名
     */
    private String loginName;

    /**
     * 密码
     */
    private String loginPass;

    /**
     * 最近登录时间
     */
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date lastLogin;

    /**
     * 接收短信手机号
     */
    private String adminTel;

    /**
     * 删除标记
     */
    private Integer disabled;


    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginPass() {
        return loginPass;
    }

    public void setLoginPass(String loginPass) {
        this.loginPass = loginPass;
    }

    public Date getLastLogin() {
        return lastLogin;
    }

    public void setLastLogin(Date lastLogin) {
        this.lastLogin = lastLogin;
    }

    public String getAdminTel() {
        return adminTel;
    }

    public void setAdminTel(String adminTel) {
        this.adminTel = adminTel;
    }

    public Integer getDisabled() {
        return disabled;
    }

    public void setDisabled(Integer disabled) {
        this.disabled = disabled;
    }
}
